package org.springframework.study;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.study.bean.MyTestBean;

public class DemoApplication {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("beanFactoryTest.xml");
		MyTestBean myTestBean = (MyTestBean) context.getBean("myTestBean");
		myTestBean.sayHello("aspect");
	}

}
